#ifndef CSURFACE_H_INCLUDED
#define CSURFACE_H_INCLUDED

#include <SDL/SDL.h>
#include <SDL/SDL_image.h>

class CSurface{

    public:
        CSurface();

    public:
        static SDL_Surface* OnLoad(char* File);

        //draw method for image surface
        static bool OnDraw(SDL_Surface* Surf_Dest, SDL_Surface* Surf_Src,
            int X, int Y);

        //draw method for sprite sheet image
        static bool OnDraw(SDL_Surface* Surf_Dest, SDL_Surface* Surf_Src,
            int X, int Y, int X2, int Y2, int W, int H);

        //transparent surface
        static bool Transparent(SDL_Surface* Surf_Dest, int R, int G, int B);

};


#endif // CSURFACE_H_INCLUDED
